package com.woniuxy.classteacher.mapper;

import com.woniuxy.commons.entity.TestPaper;
import com.woniuxy.commons.entity.wyh.TeacherInfo;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author 李英勇
 * @date 2020/7/24 - 16:39
 */
@Repository
public interface TestPaperMapper {
    //通过试卷id获取试卷
    public TestPaper findTestPaperByTid(int tid);

    //查询月考试卷
    public TestPaper findMonthPaper(String subject, String time, int paperTerm);

    //查询期中考试试卷
    public TestPaper findMiddleTermPaper(String subjetc, String time, int paparTerm);

    //查询期末考试试卷
    public TestPaper findEndTermPaper(String subjetc, String time, int paparTerm);

    //查询一个阶段的月考
    public List<TestPaper> findAllMonthPapers(String subject, String time, int paperTerm);


}
